package IC.SymbolTable;

/**
 * represent the kinds of symbols.
 */
public enum SymbolKind {
	CLASS("Class"),
	STATIC_METHOD("Static method"),
	VIRTUAL_METHOD("Virtual method"),
	FIELD("Field"),
	THIS("This"),
	FORMAL("Parameter"),
	LOCAL("Local variable"),
	RETURN_VARIABLE("Return variable");
	
	private final String kind;
	
	//C'tor
	SymbolKind(String kind) {
		this.kind = kind;	
	}
	
	@Override
	public String toString() {
		return kind;
	}
}
